#include <Hear2.h>
Public Member Functions | |
Hear2 () | |
void | setDirectionAndMessage (char *direction, char *message) |
char * | getDirection () |
char * | getMessage () |
Hear2::Hear2 | ( | ) |
Konstruktor Hear2() inicializuje prvky, ktore budu potrebne na pracu s pocutou spravou agenta.
char * Hear2::getDirection | ( | ) |
Metoda getDirection() vrati smer pocutej spravy agenta.
char * Hear2::getMessage | ( | ) |
Metoda getMessage() vrati pocutu spravu agenta.
void Hear2::setDirectionAndMessage | ( | char * | direction, | |
char * | message | |||
) |
Metoda setDirectionAndMessage() nastavi smer pocutej spravy agenta a pocutu spravu agenta.
direction | - Smer pocutej spravy agenta. | |
message | - Pocuta sprava agenta. |